//
//  AFFNavigationController.h
//  AnyfishApp
//
//  Created by Bob Lee on 14-7-25.
//  Copyright (c) 2014年 Anyfish. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "UINavigationController+JZExtension.h"
#import "UINavigationController+StackManager.h"
#import "UINavigationController+BATransitions.h"
//#import "UINavigationController+FDFullscreenPopGesture.h"
#import "AFFNavbar.h"

@class AFFTableViewCellOneSmall;
@interface AFFNavigationController : UINavigationController <UINavigationControllerDelegate, UIGestureRecognizerDelegate>{
    BOOL isPush;
}

@property(nonatomic, weak)      UIViewController    *currentShowVC;
@property (nonatomic, strong)   NSString            *navigationBarColorStr;
@property (nonatomic, strong)   UIColor             *statusBarBgColor;
@property (nonatomic, strong)   UIColor            *navigationBarColor;
@property (nonatomic, weak) AFFTableViewCellOneSmall *banner;    ///< 通知等的横幅

/**
 * 显示加载进度
 * @param  delegate  vc，需要实现委托方法 UIWebViewDelegate
 * @param  webV  当前进度（初始化默认是0）
 */
- (void)showProgerss:(id<UIWebViewDelegate>)delegate webV:(UIWebView*)webV;
//- (void)updateProgress:(float)progress;

// vc cleanself 时基类默认调用
- (void)hideProgress;

/**
 * 展示横幅，延时自动关闭；默认dispTime=0不自动关闭
   banner，默认不显示左边头像，右边按钮是关闭
 */
- (void)showBanner:(float)dispTime;
// 关闭是否带动画，默认YES
- (void)hideBanner:(BOOL)animate;

@end
